<?php
/**
 * True Gallery Category template file
 *
 * @version 2.5
 * @author Alexey N. Brin (userxp@joomlaportal.ru)
 * @homepage http://truegallery.ru 
 * @filename picture.nav.tpl.php
 * @package True Gallery
 * @copyright (C) 2008-2009 by joomlatune.ru
 * @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html
 * 
 * THIS GALLERY is an EVOLUTION of AkoGallery -> PonyGallery -> DatsoGallery
 *
 * If you fork this to create your own project, 
 * please make a reference to True Gallery someplace in your code 
 * and provide a link to http://www.joomlatune.ru
 *
 **/

defined('_VALID_MOS') or defined('_JEXEC') or die('Direct Access to this location is not allowed.');
?>
<div class="picture_nav">
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tr><td width="50%"><?php 
			if( $tpl->nav->prev ) { ?><a href="<?php echo $tpl->nav->prev; ?>" title="<?php echo JText::_('TG_PREV'); ?>" class="prev_nav"></a><?php  } else { ?><span class="prev_nav_off"></span><?php  }
			if( $tpl->nav->first) { ?><a href="<?php echo $tpl->nav->first; ?>" title="<?php echo JText::_('TG_FIRST'); ?>" class="first_nav"></a><?php } else { ?><span class="first_nav_off"></span><?php }
			?></td><td width="50%"><?php
			if( $tpl->nav->next ) { ?><a href="<?php echo $tpl->nav->next; ?>" title="<?php echo JText::_('TG_NEXT'); ?>" class="next_nav"></a><?php  } else { ?><span class="next_nav_off"></span><?php  }
			if( $tpl->nav->last ) { ?><a href="<?php echo $tpl->nav->last; ?>" title="<?php echo JText::_('TG_LAST'); ?>" class="last_nav"></a><?php  } else { ?><span class="last_nav_off"></span><?php  }
		?></td></tr>
	</table>	
</div>